package com.example.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaohei.crm.common.result.Result;
import com.xiaohei.crm.dao.Customer;


public interface CustomerService extends IService<Customer> {
    Result<IPage> findByPage(Integer pageIndex, Integer pageSize, String customerName, String attribution, String accountManager);

    void saveCustomer(Customer customer);

    void updateByCustomerId(Customer customer);

    void removeByCustomerName(String id);
}
